<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章列表</title>
    <link rel="stylesheet" href="../bootstrap-3.4.1-dist/css/bootstrap.css">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="../bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
    <script src="../js/index.js" type="module" defer></script>
    <style>
        body,
        html {
            width: 100%;
            overflow: hidden;
        }
        
        .title {
            width: 100%;
            height: 50px;
            background-color: green;
            text-align: center;
            line-height: 50px;
            font-weight: 600;
            font-size: 30px;
            color: white;
        }
        
        .con1 {
            width: 100%;
            height: 50px;
            margin: 0 30%;
        }
        
        .con2 th,
        .con2 td {
            text-align: center;
            line-height: 50px;
        }
    </style>
</head>

<body>
    <h1 class="title">文章列表</h1>
    <form class="form-inline con1">
        <div class="form-group">
            <input type="text" class="form-control addTitle" id="exampleInputName2" placeholder="标题">
        </div>
        <div class="form-group">
            <input type="email" class="form-control addTitlePer" id="exampleInputEmail2" placeholder="发布人">
        </div>
        <div class="form-group">
            <input type="date" class="form-control addTitleDate" id="exampleInputEmail2" placeholder="日期">
        </div>
        <button type="button" class="btn btn-default" id="add">新增</button>
    </form>
    <table class="table table-striped con2">
        <thead>
            <tr>
                <th>序号</th>
                <th>标题</th>
                <th>发布人</th>
                <th>发布时间</th>
                <th>操作</th>
            </tr>
        </thead>

        <tbody>
            <tr>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </tbody>
    </table>


    <!-- 模态框 -->
    <div class="modal fade" tabindex="-1" role="dialog" id="myModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title Modal_box">编辑</h4>
                </div>
                <div class="modal-body">
                    <p>
                        <input type="text" class="form-control Model_title" placeholder="标题">
                    </p>
                    <p>
                        <input type="text" class="form-control Model_per" placeholder="发布人">
                    </p>
                    <p>
                        <input type="date" class="form-control Model_date" placeholder="日期">
                    </p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary sure">更新</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <!-- <button type="button" class="btn btn-primary sure">添加/编辑</button> -->
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->

</body>

</html>